LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := librtmp

LOCAL_C_INCLUDES += \
        $(LOCAL_PATH)/../ \
        $(LOCAL_PATH)/../openssl \
        $(LOCAL_PATH)/../openssl/include

LOCAL_SRC_FILES = \
        amf.c \
        hashswf.c \
        log.c \
        parseurl.c \
        rtmp.c \
        RTMPSink.c

LOCAL_ARM_MODE := arm
LOCAL_MULTILIB := 32
#LOCAL_LDLIBS := -lz
LOCAL_SHARED_LIBRARIES := libcrypto libssl libz
#include $(BUILD_SHARED_LIBRARY)
include $(BUILD_STATIC_LIBRARY)